/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package assign2;

/**
 *
 * @author martyastiadi
 */
public class ClientRun {
 public static void main(String[] args) {
    String host = "localhost";
    int port = 5193;
    if (args.length > 0) {
      host = args[0];
    }
    if (args.length > 1) {
      port = Integer.parseInt(args[1]);
    }
    Client myClient = new Client(host, port);
    myClient.connect();
  }

}
